﻿/**
 * @file
 * Page Styling
 *
 * Style the markup found in page.tpl.php. Also includes some styling of
 * miscellaneous Drupal elements that appear in the $content variable, such as
 * ul.links, .pager, .more-link, etc.
 */


/*
 * Body
 */
body {
    margin: 0;
    padding: 0;
    /*
	на страницах с категориями цвет вбивается в body
    background: #853135 url('../images/bg_pattern.gif') repeat scroll 0 0;
*/
	background-color: #e9d6a7;
    font-size: 100%;
    font-family: 'Myriad Pro', 'Lucida Grande', Arial, sans-serif;
}

#page-wrapper {
}

#page {
}

/*
 * The skip navigation link will be completely hidden until a user tabs to the
 * link. See http://www.webaim.org/techniques/skipnav/
 */
#skip-link a,
#skip-link a:visited {
  position: absolute;
  display: block;
  left: 0;
  top: -500px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  text-align: center;
  background-color: #666;
  color: #fff;
}

#skip-link a:hover,
#skip-link a:active,
#skip-link a:focus {
  position: static;
  width: 100%;
  height: auto;
  padding: 2px 0 3px 0;
}

/*
 * Header
 */
#header {
	background: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
	border-color: #7a0026;
	border-width: 1px;
	border-style: solid;
    height: 130px;
    width: 100%;
    margin: 20px 0 10px;
	-webkit-box-shadow: 1px 3px 3px 0px #666;
	-moz-box-shadow: 1px 3px 3px 0px #666;
	box-shadow: 1px 3px 3px 0px #666; 
	behavior: url(PIE.htc);
}

#header .section {
}

#logo /* Wrapping link for logo */ {
  float: left; /* LTR */
  margin: 40px 0 0 40px;
  padding: 0;
  width: 243px;
  clear: none;
}

#logo img {
  vertical-align: bottom;
}

#header-banner {  
	margin: -78px 0 0 300px;
	float: right;
	clear: none;
}

#header-banner img {
	-webkit-border-top-right-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	-moz-border-radius-topright: 10px;
	-moz-border-radius-bottomright: 10px;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	behavior: url(PIE.htc);
}

#interactive-banner {
	text-align: center;
	width: 300px;
}

#interactive-banner img {
	margin: 0 55px;
}

#name-and-slogan /* Wrapper for website name and slogan */ {
	display: none;
    height: 87px;
    padding-top: 20px;
    margin-top: 20px;
}

h1#site-name,
div#site-name /* The name of the website */ {
  margin: 0;
  font-size: 2em;
  line-height: 1.3em;
}

#site-name a:link,
#site-name a:visited {
  color: #000;
  text-decoration: none;
}

#site-name a:hover,
#site-name a:focus {
  text-decoration: underline;
}

#site-slogan /* The slogan (or tagline) of a website */ {
}

.region-header /* Wrapper for any blocks placed in the header region */ {
}
/*
 * Banner on frontpage of site
 */
 
 #front-banner {
     background: transparent url('../images/photo-1.jpg') scroll no-repeat 0 0;
     width: 1042px;
     height: 424px;    
	 -webkit-border-radius: 10px;
     -moz-border-radius: 10px;
	 border-radius: 10px;
	 border-style: solid;
	 border-width: 1px;
	 border-color: #7a0026;
	 margin-bottom: 10px;
	 -webkit-box-shadow: 1px 3px 3px 0px #666;
	-moz-box-shadow: 1px 3px 3px 0px #666;
	box-shadow: 1px 3px 3px 0px #666; 
/*     margin: 10px 0 10px -7px;*/
	behavior: url(PIE.htc);
 }
 
/*
 * Main (container for everything else)
 */
#main-wrapper {
}

#main {
    background: #fff;
    width: 1022px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
	behavior: url(PIE.htc);
	border-style: solid;
	border-width: 1px;
	border-color: #7a0026;
    padding: 10px;
	-webkit-box-shadow: 1px 3px 3px 0px #666;
	-moz-box-shadow: 1px 3px 3px 0px #666;
	box-shadow: 1px 3px 3px 0px #666; 
}

/*
 * Content
 */
#content {
}

#content .section {
}

#mission /* The mission statement of the site (displayed on homepage) */ {
}

.region-content-top /* Wrapper for any blocks placed in the "content top" region */ {
}

.breadcrumb /* The path to the current page in the form of a list of links */ {
  padding-bottom: 0; /* Undo system.css */
}

h1.title, /* The title of the page */
h2.title, /* Block title or the title of a piece of content when it is given in a list of content */
h3.title /* Comment title */ {
  margin: 0;
}

tr.even /* Some tables have rows marked even or odd. */ {
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
}

tr.odd {
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
}

div.messages /* Important messages (status, warning, and error) for the user. See also the declarations in messages.css. */ {
}

div.status /* Normal priority messages */ {
}

div.warning,
tr.warning /* Medium priority messages */ {
  /* border: 1px solid #f0c020; */ /* Drupal core uses: 1px solid #f0c020 */
}

div.error,
tr.error /* High priority messages. See also the .error declaration below. */ {
}

.error /* Errors that are separate from div.messages status messages. */ {
  /* color: #e55; */ /* Drupal core uses a #e55 background */
}

.warning /* Warnings that are separate from div.messages status messages. */ {
  /* color: #e09010; */ /* Drupal core uses a #e09010 background */
}

div.tabs /* See also the tabs.css file. */ {
}

.help /* Help text on a page */ {
  margin: 1em 0;
}

.more-help-link /* Link to more help */ {
  font-size: 0.85em;
  text-align: right;
}

#content-area /* Wrapper for the actual page content */ {
}

ul.links /* List of links */ {
  margin: 1em 0;
  padding: 0;
}

ul.links.inline {
  margin: 0;
  display: inline;
}

ul.links li {
  display: inline;
  list-style-type: none;
  padding: 0 0.5em;
}

.pager /* A list of page numbers when more than 1 page of content is available */ {
  clear: both;
  margin: 1em 0;
  text-align: center;
}

.pager a,
.pager strong.pager-current /* Each page number in the pager list */ {
  padding: 0.5em;
}

.feed-icons /* The links to the RSS or Atom feeds for the current list of content */ {
  margin: 1em 0;
}

.more-link /* Aggregator, blog, and forum more link */ {
float: right;
text-align: right; /* LTR */
}

.region-content-bottom /* Wrapper for any blocks placed in the "content bottom" region */ {
}

/*
 * First sidebar (on left in LTR languages, on right in RTL)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-first
 * (see the layout.css file.)
 */
.region-sidebar-first {
}

.region-sidebar-first .section {
}

/*
 * Second sidebar (on right in LTR languages, on left in RTL)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-second
 * (see the layout.css file.)
 */
.region-sidebar-second {
}

.region-sidebar-second .section {
}

/*
 * Footer
 */
#footer {
}

#footer .section {
}

#footer-message /* Wrapper for the footer message from Drupal's "Site information"
                   and for any blocks placed in the footer region */ {
}

.region-footer {
}

/*
 * Closure
 */
.region-page-closure /* Wrapper for any blocks placed in the closure region */ 
{
}

div#block-menu-secondary-links.block ul.menu {
  margin-left: 0px;
  padding-left: 0px;
}
div#block-menu-secondary-links.block ul.menu li {
  display: block;
}
div#block-menu-secondary-links.block ul.menu li a {
	color: #7a0026 !important;
	font-size: 1.2em !important;
	line-height: 1.8em !important;
}
div#block-menu-secondary-links.block ul.menu li a:hover {
  background-color: #D0D0D0;
}


/*
 * Drupal boxes
 *
 * Wrapper for Comment form, Comment viewing options, Menu admin, and
 * Search results.
 */
.box /* Wrapper for box */ {
}

.box h2 /* Box title */ {
}

.box .content /* Box's content wrapper */ {
}

/*
 * Markup free clearing (See: http://www.positioniseverything.net/easyclearing.html )
 */
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

/**
 * Hide elements from all users.
 *
 * Used for elements which should not be immediately displayed to any user. An
 * example would be a collapsible fieldset that will be expanded with a click
 * from a user. The effect of this class can be toggled with the jQuery show()
 * and hide() functions.
 */
.element-hidden {
  display: none;
}

/**
 * Hide elements visually, but keep them available for screen-readers.
 *
 * Used for information required for screen-reader users to understand and use
 * the site where visual display is undesirable. Information provided in this
 * manner should be kept concise, to avoid unnecessary burden on the user. Must
 * not be used for focusable elements (such as links and form elements) as this
 * causes issues for keyboard only or voice recognition users. "!important" is
 * used to prevent unintentional overrides.
 */
.element-invisible {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

#login-logout{
	float:right;	
}